//
// Created by 86136 on 2024/12/2.
//

#ifndef CHAT_GROUPUSER_HPP
#define CHAT_GROUPUSER_HPP

#include "user.hpp"

// 群组用户，多一个role角色信息，从user类直接继承，复用其他信息
class GroupUser: public User {
public:
    void setRole(string role_) {this->role = role_;}
    string getRole() {return this->role;}
private:
    string role;
};

#endif //CHAT_GROUPUSER_HPP
